package com.wy.authority.mapper;

import com.wy.authority.entity.Msg;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 忘忧
 * @Date Created in 2021/2/5 11:32
 * @Description:
 */
@Repository
@Mapper
public interface MsgMapper {

    //插入
    int insertmsg(Msg msg);

    //删除
    int delete(int id);

    //查询
    List<Msg> select();

    //按照订单编号模糊查询
    List<Msg> selectby_ord(String search,String times);

    //更新
    int update(Msg msg);
}
